/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/** *****************************************************************************************************
 *  \file     Eep_Cfg.h                                                                                 *
 *  \brief    This file contains generated pre compile configuration file for                           *
 *            EEP MCAL driver                                                                           *
 *                                                                                                      *
 * <table>                                                                                              *
 * <tr><th>Date                 <th>Version                                                             *
 * <tr><td>2025-03-25 19:03:22  <td>1.0.0 R                                                             *
 * </table>                                                                                             *
 *******************************************************************************************************/

#ifndef EEP_CFG_H
#define EEP_CFG_H

#ifdef __cplusplus
extern "C" {
#endif

/********************************************************************************************************
 *                                 Global Macro definition                                              *
 *******************************************************************************************************/
/*****************Version Information************/
#define EEP_AR_RELEASE_MAJOR_VERSION      (4U)
#define EEP_AR_RELEASE_MINOR_VERSION      (3U)
#define EEP_AR_RELEASE_REVISION_VERSION   (1U)

#define EEP_SW_MAJOR_VERSION  (1U)
#define EEP_SW_MINOR_VERSION  (0U)
#define EEP_SW_PATCH_VERSION  (0U)

#define EEP_DEV_ERROR_DETECT                                              (STD_OFF)
#define EEP_USE_INTERRUPTS                                                (STD_ON)
#define EEP_VERSIONINFO_API                                               (STD_OFF)
#define EEP_WRITE_CYCLE_REDUCTION                                         (STD_OFF)
#define EEP_NON_CACHEABLE_NEEDED                                          (STD_OFF)

#define EEP_CFG_INIT_BLOCK_NUM (2u)
#define EEP_CFG_PROTECT_AREA_NUM (0u)
#define EEP_CFG_IMAGE_AREA_NUM (0u)
#define EEP_CFG_HOST_MAX_NUM (5u)

#define EEP_CFG_BLOCK_PRIORITY_MAX (2u)

#define EEP_ERASE_UNIT_SIZE (16U)   /* in bytes */
#define EEP_ERASE_TIME (160U)  /* in us */
#define EEP_WRITE_UNIT_SIZE (16U)   /* in bytes */
#define EEP_WRITE_TIME (160U)  /* in us */
#define EEP_CALL_CYCLES 0U

#ifdef __cplusplus
}
#endif
#endif /* #ifndef EEP_CFG_H */
/** @} */
/* End of file */
